#include<cstdio>
#include<iostream>
#include<unistd.h>

int main()
{

}
/* int main()
{
    std::cout<<"这是进程替换之前"<<std::endl;
    //传递自己的命令行参数与环境变量表
    char* const argv[]={
        (char* const)"yuejianhua",
        (char* const)"jinzhiqi",
        NULL,
    };
    char* const env[]={
        (char* const)"n1=12345",
        (char* const)"n2=45678",
        (char* const)"n3=lut",
        NULL,
    };
    int ret=execve("./text",argv,env);
    //替换成功后续代码不会执行
    if(ret<0)
    {
        std::cout<<"进程替换失败！"<<std::endl;
    }
    std::cout<<"进程替换之后"<<std::endl;
    return 0;
} */